import request from '@/utils/request'

// 查询退役军人_优抚信息列表
export function listRetirefm_1(query) {
  return request({
    url: '/manager/retirefm_1/list',
    method: 'get',
    params: query
  })
}

// 查询退役军人_优抚信息详细
export function getRetirefm_1(id) {
  return request({
    url: '/manager/retirefm_1/' + id,
    method: 'get'
  })
}

// 新增退役军人_优抚信息
export function addRetirefm_1(data) {
  return request({
    url: '/manager/retirefm_1',
    method: 'post',
    data: data
  })
}

// 修改退役军人_优抚信息
export function updateRetirefm_1(data) {
  return request({
    url: '/manager/retirefm_1',
    method: 'put',
    data: data
  })
}

// 删除退役军人_优抚信息
export function delRetirefm_1(id) {
  return request({
    url: '/manager/retirefm_1/' + id,
    method: 'delete'
  })
}

// 导出退役军人_优抚信息
export function exportRetirefm_1(query) {
  return request({
    url: '/manager/retirefm_1/export',
    method: 'get',
    params: query
  })
}

// 通过身份证查询匹配军人的基本信息
export function getBaseInfoByID(query) {
  return request({
    url: '/manager/retirefm/list',
    method: 'get',
    params: query
  })
}
